<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 
        js传不定参，函数内部有一个arguments对象，接收传递过来的参数
        arguments对象是一个类数组对象
     -->
    <script>
        function go(a){
            console.log(arguments);
            console.log(a);
            console.log(arguments[1])
        }
        go(10,12)
    </script>
</body>
</html>